﻿using UnityEngine;
using System;
using System.Collections;
using Hont.C2UTool;

public class C2UStaticInfoRequireScriptTip : MonoBehaviour, IC2UStaticInfoReceiver
{
    public string tipContent;


    public void OnStaticInfoReplaced(GameObject root)
    {
        Debug.LogError(string.Format("[{0}] {1}", name, tipContent));
        DestroyImmediate(this);
    }

    public void OnStaticInfoReplacedLate(GameObject root)
    {
    }
}
